<?php

class List_Areas
{
	public function getCategories()
	{
		$this->categories_model = new Table_AreaCategories();
		return $this->categories_model->getCategories();
	}
   public function getCategory($id)
	{
		$this->categories_model = new Table_AreaCategories();
		return $this->categories_model->getCategory($id);
	}

	public function getAreas($cat_id)
	{
		$this->areaknots_model = new Table_AreaKnots();
		return $this->areaknots_model->getAreas($cat_id);
	}
    public function getAreaCid($aid)
	{
		$this->areaknots_model = new Table_AreaKnots();
		return $this->areaknots_model->getAreaCid($aid);
	}
    public function getArea($id)
	{
		$this->areas_model = new Table_Area();
		return $this->areas_model->getArea($id);
	}
}

?>